<?php

namespace IDock\Insurance\TPIC\Response;

use IDock\Http\Response;
use IDock\Insurance\TPIC\Response\AllTPICResponse;
use IDock\Printer\UnderwritingRecallPrinter;
use IDock\Printer\UploadFilePrinter;

class CancelOrderResponse extends AllTPICResponse
{

    public function printerInit(): Response
    {
        $underwritingRecallPrinter = new UnderwritingRecallPrinter();
        $underwritingRecallPrinter->isSuccess = true;
        $underwritingRecallPrinter->errorTip = '撤销成功';
        $this->printer = $underwritingRecallPrinter;
        return $this;
    }
}
